package com.lmk.ms.tp.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * QQ接入配置
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/17
 */
@Component
@ConfigurationProperties(prefix = "ms.config.tp.qq")
public class QqProperties {

    /**
     * 是否启用
     */
    private Boolean enabled;

    /**
     * 应用ID
     */
    private String appId;

    /**
     * 应用密钥
     */
    private String appKey;

    /**
     * OAuth获取Code的回调地址
     */
    private String redirectUrl;

    /**
     * 用户绑定页面地址
     */
    private String bindUrl;

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getBindUrl() {
        return bindUrl;
    }

    public void setBindUrl(String bindUrl) {
        this.bindUrl = bindUrl;
    }
}
